package com.lqian;


@MyComponent
public class Cat {
    @MyValue("2")
    private Integer id;
    @MyValue("小咪")
    private String name;

    @Override
    public String toString() {
        return "Cat{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public void say(){
        System.out.println("hello!!!miao");
    }
}
